Repository navigation
docs(claimant): session contract + server-call inventory in README (#4916, phase 4 of #4912) - #8323
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Salvage note (lane any-b, task 17242): duplicate PR #8224 diffed against this canonical PR — nothing unique Per the duplicate-PR protocol, PR #8224 (the earlier Phase 4 audit branch queue/13022-4916-phase4-audit, head 82032cc) was compared section by section against the Session Contract section that landed here (b0a8ea4, merged 2026-11-11T00:29:02Z) as it stands on current main:
Verdict: nothing unique in #8224 — it is being closed as superseded by this PR, with the evidence recorded on #8224. Issue #4916 was already closed. |
Summary
Phase 4 (closing audit) of design #4912, scoped by #4916 — worked under queue task 14438 by lane code-w:
pm-stack/opencode-claimant/README.md: the three rules (per-id judging; verify-before-bind; every bound state dispositioned), the full bound-state table (alive / gone / zero-message / wrong-location / bind-failure / prompt-failure, each with its judging read and disposition), placed next to the existing mechanism description.poll.pyand every callprompt.mdprescribes (implemented byclaimant.py), each dispositioned against the contract. Headline:poll.py's session list survives only as an escalating-limit read whose completeness is proven or fails closed; the message read is per-id and treats unreadable as UNKNOWN, never empty. No undispositioned calls — no follow-up issues owed./listlimit=500read is recorded as EXEMPT from the session fail-closed rule, with the evidence (broker maximum page, safe failure direction, no truncation evidence at live claimed counts) and the named residual risk + revisit trigger. No code change, per the issue's evidence rule./messagesendpoint; corrected to the singular/messagethe code actually calls.Docs only.
test_poll.py: 57 tests OK on the branch.Closes #4916. With Phases 1–3 (#4757, #4870, #4758) already closed, this also completes #4912, which is closed in the same pass with the phase evidence.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.